package lu.med.praxiswahl.wahlumed.client.lieferanten;

import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

import lu.med.praxiswahl.wahlumed.client.wclient.Main;


/**
 * 
 * @author Lars Holger Roth
 */
public class LieferantenSaveActionListener implements ActionListener
{
    private LieferantenTableModel model;
    private Main owner;

    public LieferantenSaveActionListener(LieferantenTableModel model, Main owner)
    {
	this.model = model;
	this.owner = owner;
    }

    public void actionPerformed(ActionEvent e)
    {
	model.transferToDatabase(owner);
    }

}
